package com.cats.template.sys.services;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cats.template.sys.pojo.model.UserModel;

import java.util.Set;

/**
 * @author duxiaobo
 * @date 2021/9/102:36 下午
 */
public interface UserService extends IService<UserModel> {
    UserModel getUser(String userName);

    UserModel getUser(String userName, String password);

    Boolean configRoles(Long userId, Set<Long> roleIds);

}
